import request from "@/utils/request";

// 查询所有订单
export const getUserAllOrderData = (params: any) => {
  return request({
    url: `/bookings/list`,
    method: "get",
    params
  });
};

// 删除订单
export const deleteOrder = (orderNumber: string) => {
  return request({
    url: `/bookings/deleteOrders/${orderNumber}`,
    method: "post"
  });
};
